package CoreNRMProfile;


/**
 * Generated from IDL interface "MscServerFunction".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public abstract class MscServerFunctionPOA
	extends org.omg.PortableServer.Servant
	implements org.omg.CORBA.portable.InvokeHandler, CoreNRMProfile.MscServerFunctionOperations
{
	static private final java.util.Hashtable m_opsHash = new java.util.Hashtable();
	static
	{
		m_opsHash.put ( "_get_GcaList", new java.lang.Integer(0));
		m_opsHash.put ( "_get_ImplicitIMSIDetachTimer", new java.lang.Integer(1));
		m_opsHash.put ( "_set_MncList", new java.lang.Integer(2));
		m_opsHash.put ( "_get_MscServerCapacity", new java.lang.Integer(3));
		m_opsHash.put ( "_get_NriList", new java.lang.Integer(4));
		m_opsHash.put ( "_get_MscServerNumber", new java.lang.Integer(5));
		m_opsHash.put ( "_get_MscServerFunctionId", new java.lang.Integer(6));
		m_opsHash.put ( "_set_MscServerId", new java.lang.Integer(7));
		m_opsHash.put ( "_set_LacList", new java.lang.Integer(8));
		m_opsHash.put ( "_get_maxNum64KLink", new java.lang.Integer(9));
		m_opsHash.put ( "_get_MscServerType", new java.lang.Integer(10));
		m_opsHash.put ( "_get_TmsiAllocTypeAndFrequency", new java.lang.Integer(11));
		m_opsHash.put ( "_get_OperationalState", new java.lang.Integer(12));
		m_opsHash.put ( "_get_PurgeDuration", new java.lang.Integer(13));
		m_opsHash.put ( "_set_AdministrativeState", new java.lang.Integer(14));
		m_opsHash.put ( "_set_SacList", new java.lang.Integer(15));
		m_opsHash.put ( "_get_MncList", new java.lang.Integer(16));
		m_opsHash.put ( "_set_MccList", new java.lang.Integer(17));
		m_opsHash.put ( "_get_MscServerFunctionMscPool", new java.lang.Integer(18));
		m_opsHash.put ( "_get_MscServerId", new java.lang.Integer(19));
		m_opsHash.put ( "_get_ObjectClass", new java.lang.Integer(20));
		m_opsHash.put ( "_set_UserLabel", new java.lang.Integer(21));
		m_opsHash.put ( "_get_MccList", new java.lang.Integer(22));
		m_opsHash.put ( "_get_ObjectInstance", new java.lang.Integer(23));
		m_opsHash.put ( "_get_MaxMscServerBHCA", new java.lang.Integer(24));
		m_opsHash.put ( "_get_AuthType", new java.lang.Integer(25));
		m_opsHash.put ( "_get_DefaultMsc", new java.lang.Integer(26));
		m_opsHash.put ( "_get_PagingDuration", new java.lang.Integer(27));
		m_opsHash.put ( "_get_maxNum2MLink", new java.lang.Integer(28));
		m_opsHash.put ( "_get_UserLabel", new java.lang.Integer(29));
		m_opsHash.put ( "_get_AdministrativeState", new java.lang.Integer(30));
		m_opsHash.put ( "_get_PagingFunction", new java.lang.Integer(31));
		m_opsHash.put ( "_get_PagingRetry", new java.lang.Integer(32));
		m_opsHash.put ( "_get_SacList", new java.lang.Integer(33));
		m_opsHash.put ( "_get_LacList", new java.lang.Integer(34));
		m_opsHash.put ( "_set_GcaList", new java.lang.Integer(35));
		m_opsHash.put ( "_get_AuthFrequency", new java.lang.Integer(36));
	}
	private String[] ids = {"IDL:CoreNRMProfile/MscServerFunction:1.0","IDL:GenericNRMProfile/ManagedFunction:1.0","IDL:GenericNRMProfile/Top:1.0"};
	public CoreNRMProfile.MscServerFunction _this()
	{
		return CoreNRMProfile.MscServerFunctionHelper.narrow(_this_object());
	}
	public CoreNRMProfile.MscServerFunction _this(org.omg.CORBA.ORB orb)
	{
		return CoreNRMProfile.MscServerFunctionHelper.narrow(_this_object(orb));
	}
	public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler)
		throws org.omg.CORBA.SystemException
	{
		org.omg.CORBA.portable.OutputStream _out = null;
		// do something
		// quick lookup of operation
		java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method );
		if ( null == opsIndex )
			throw new org.omg.CORBA.BAD_OPERATION(method + " not found");
		switch ( opsIndex.intValue() )
		{
			case 0: // _get_GcaList
			{
			_out = handler.createReply();
			CoreNRMSystem.ULongSetTypeHelper.write(_out,GcaList());
				break;
			}
			case 1: // _get_ImplicitIMSIDetachTimer
			{
			_out = handler.createReply();
			_out.write_ulong(ImplicitIMSIDetachTimer());
				break;
			}
			case 2: // _set_MncList
			{
			_out = handler.createReply();
			MncList(CoreNRMSystem.ULongSetTypeHelper.read(_input));
				break;
			}
			case 3: // _get_MscServerCapacity
			{
			_out = handler.createReply();
			_out.write_ulong(MscServerCapacity());
				break;
			}
			case 4: // _get_NriList
			{
			_out = handler.createReply();
			CoreNRMSystem.StringSetTypeHelper.write(_out,NriList());
				break;
			}
			case 5: // _get_MscServerNumber
			{
			_out = handler.createReply();
			_out.write_string(MscServerNumber());
				break;
			}
			case 6: // _get_MscServerFunctionId
			{
			_out = handler.createReply();
			_out.write_string(MscServerFunctionId());
				break;
			}
			case 7: // _set_MscServerId
			{
			_out = handler.createReply();
			MscServerId(_input.read_ulong());
				break;
			}
			case 8: // _set_LacList
			{
			_out = handler.createReply();
			LacList(CoreNRMSystem.ULongSetTypeHelper.read(_input));
				break;
			}
			case 9: // _get_maxNum64KLink
			{
			_out = handler.createReply();
			_out.write_ulong(maxNum64KLink());
				break;
			}
			case 10: // _get_MscServerType
			{
			_out = handler.createReply();
			_out.write_short(MscServerType());
				break;
			}
			case 11: // _get_TmsiAllocTypeAndFrequency
			{
			_out = handler.createReply();
			_out.write_ulong(TmsiAllocTypeAndFrequency());
				break;
			}
			case 12: // _get_OperationalState
			{
			_out = handler.createReply();
			GenericNRMSystem.OperationalStateTypeHelper.write(_out,OperationalState());
				break;
			}
			case 13: // _get_PurgeDuration
			{
			_out = handler.createReply();
			_out.write_ulong(PurgeDuration());
				break;
			}
			case 14: // _set_AdministrativeState
			{
			_out = handler.createReply();
			AdministrativeState(GenericNRMSystem.AdministrativeStateTypeHelper.read(_input));
				break;
			}
			case 15: // _set_SacList
			{
			_out = handler.createReply();
			SacList(CoreNRMSystem.ULongSetTypeHelper.read(_input));
				break;
			}
			case 16: // _get_MncList
			{
			_out = handler.createReply();
			CoreNRMSystem.ULongSetTypeHelper.write(_out,MncList());
				break;
			}
			case 17: // _set_MccList
			{
			_out = handler.createReply();
			MccList(CoreNRMSystem.ULongSetTypeHelper.read(_input));
				break;
			}
			case 18: // _get_MscServerFunctionMscPool
			{
			_out = handler.createReply();
			GenericNRMSystem.DNListTypeHelper.write(_out,MscServerFunctionMscPool());
				break;
			}
			case 19: // _get_MscServerId
			{
			_out = handler.createReply();
			_out.write_ulong(MscServerId());
				break;
			}
			case 20: // _get_ObjectClass
			{
			_out = handler.createReply();
			_out.write_string(ObjectClass());
				break;
			}
			case 21: // _set_UserLabel
			{
			_out = handler.createReply();
			UserLabel(_input.read_string());
				break;
			}
			case 22: // _get_MccList
			{
			_out = handler.createReply();
			CoreNRMSystem.ULongSetTypeHelper.write(_out,MccList());
				break;
			}
			case 23: // _get_ObjectInstance
			{
			_out = handler.createReply();
			_out.write_string(ObjectInstance());
				break;
			}
			case 24: // _get_MaxMscServerBHCA
			{
			_out = handler.createReply();
			_out.write_ulong(MaxMscServerBHCA());
				break;
			}
			case 25: // _get_AuthType
			{
			_out = handler.createReply();
			_out.write_string(AuthType());
				break;
			}
			case 26: // _get_DefaultMsc
			{
			_out = handler.createReply();
			_out.write_boolean(DefaultMsc());
				break;
			}
			case 27: // _get_PagingDuration
			{
			_out = handler.createReply();
			_out.write_ulong(PagingDuration());
				break;
			}
			case 28: // _get_maxNum2MLink
			{
			_out = handler.createReply();
			_out.write_ulong(maxNum2MLink());
				break;
			}
			case 29: // _get_UserLabel
			{
			_out = handler.createReply();
			_out.write_string(UserLabel());
				break;
			}
			case 30: // _get_AdministrativeState
			{
			_out = handler.createReply();
			GenericNRMSystem.AdministrativeStateTypeHelper.write(_out,AdministrativeState());
				break;
			}
			case 31: // _get_PagingFunction
			{
			_out = handler.createReply();
			_out.write_string(PagingFunction());
				break;
			}
			case 32: // _get_PagingRetry
			{
			_out = handler.createReply();
			_out.write_ulong(PagingRetry());
				break;
			}
			case 33: // _get_SacList
			{
			_out = handler.createReply();
			CoreNRMSystem.ULongSetTypeHelper.write(_out,SacList());
				break;
			}
			case 34: // _get_LacList
			{
			_out = handler.createReply();
			CoreNRMSystem.ULongSetTypeHelper.write(_out,LacList());
				break;
			}
			case 35: // _set_GcaList
			{
			_out = handler.createReply();
			GcaList(CoreNRMSystem.ULongSetTypeHelper.read(_input));
				break;
			}
			case 36: // _get_AuthFrequency
			{
			_out = handler.createReply();
			_out.write_ulong(AuthFrequency());
				break;
			}
		}
		return _out;
	}

	public String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] obj_id)
	{
		return ids;
	}
}
